const Main = () =>
    import ('_c/Main/Main')
const routers = [{
        path: '/',
        hidden: true,
        name: 'Home',
        redirect: '/setting',
    }, {
        path: '/login',
        name: 'login',
        hidden: true,
        component: () =>
            import ('@/views/login/login')
    },
    {
        path: '/404',
        name: '404',
        hidden: true,
        component: () =>
            import ('@/views/exception/404')
    },
    // {
    //     path: '/setting',
    //     meta: {
    //         title: "系统设置"
    //     },
    //     redirect: '/setting/router',
    //     component: Main,
    //     children: [{
    //         path: '/setting/router',
    //         meta: {
    //             title: "设置路由"
    //         },
    //         component: () =>
    //             import ('@/views/setting/router'),
    //     }, ]
    // },
    {
        path: '*',
        redirect: '/404',
        hidden: true
    },

]
export default routers